/*
 * @Date: 2023-03-18 10:37:55
 * @LastEditors: Zireael 1193875164@qq.com
 * @LastEditTime: 2023-03-24 15:06:29
 * @FilePath: \A19\backend\src\shared\protocols\talks\PtlFollowTalks.ts
 */
import { ObjectId } from "mongodb";
import { BaseRequest, BaseResponse, BaseConf } from "../base";
import { followTalks } from '../../types/talks';

export interface ReqFollowTalks extends BaseRequest {
    photos?: Array<{
        fileName: string;
        fileData: Uint8Array;
        fileType: string;
    }>;
    context:string
    mainTalk:ObjectId
}

export interface ResFollowTalks extends BaseResponse {
    followTalk:followTalks
}

export const conf: BaseConf = {
    needLogin: true
}